package com.ruoyi.system.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 项目下的用户视图对象 kfn_project_user
 *
 * @author Panda
 * @date 2023-12-21
 */
@Data
@ExcelIgnoreUnannotated
public class KfnProjectUserVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long projectUserId;

    /**
     * 项目中用户的角色
     */
    @ExcelProperty(value = "项目中用户的角色", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "project_project_user_type")
    private String projectUserRole;

    /**
     * 用户id
     */
    @ExcelProperty(value = "用户id")
    private Long userId;

    /**
     * 用户名
     */
    @ExcelProperty(value = "用户名")
    private String userName;

    /**
     * 当前从事该项目的用户状态
     */
    @ExcelProperty(value = "当前从事该项目的用户状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_normal_disable")
    private String projectUserStatus;

    /**
     * 关联的项目id
     */
    @ExcelProperty(value = "关联的项目id")
    private String projectId;


}
